<div class="slider-wrapper theme-default" style="position:relative;">
    <div id="slider" class="nivoSlider">	
    <?php foreach($slide as $s){ ?>									
	<a href="#">
		<img src="<?php echo base_url('data/slide/thumb/'.$s->slide_image); ?>" alt="<?php echo $s->slide_name ?>">
	</a>
    <?php } ?>
	</div>
</div>